package cn.tedu.ivos.application.service;

import cn.tedu.ivos.application.pojo.dto.ApplicationQuery;
import cn.tedu.ivos.application.pojo.dto.ApplicationSaveParam;
import cn.tedu.ivos.application.pojo.vo.ApplicationVO;

import java.util.List;

public interface ApplicationService {
    //提供用于新增申请表单的方法
    void save(ApplicationSaveParam saveParam);
    //查询申请表单
    List<ApplicationVO> selectApplication(ApplicationQuery applicationQuery);
    //撤销申请单
    void cancel(Long id);

    void distribute(Long applicationId, Long vehicleId);

    void back(Long applicationId, Long vehicleId);
}
